#ifndef DRAWBLOCKWINDOW_H
#define DRAWBLOCKWINDOW_H

#include <QMainWindow>
#include <QPainter>
#include "imagedata.h"
#include <QDebug>
#include <QScrollArea>
#include <QLabel>
#include "paintarea.h"
#include "mauvedata.h"
namespace Ui {
class DrawBlockWindow;
}

class DrawBlockWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit DrawBlockWindow(MauveData mData, QWidget *parent = 0);
    ~DrawBlockWindow();

public slots:
    void drawMauveImage(ImageData ida);


    
private slots:
    void on_actionHome_triggered();

    void on_actionZoom_In_triggered();

    void on_actionZoom_Out_triggered();

    void on_actionRight_triggered();

    void on_actionLeft_triggered();

private:
    Ui::DrawBlockWindow *ui;
    MauveData mda;
    TransformData tda;
    TransformData hometda;
    qreal scrollWidth;
    qreal scrollHeight;
    qint32 genomeNumber;

    QVector<qint32> zoomNaRange;
    qint32 currentZoomNaRangeId;

    void resizeEvent(QResizeEvent *);
};

#endif // DRAWBLOCKWINDOW_H
